/*
 * poker.h
 *
 *  Created on: Mar 5, 2009
 *      Author: Michael Greene
 */

#ifndef UTILS_H_
#include "utils.h"
#endif

#ifndef POKER_H_
#define POKER_H_
	typedef struct card
	{
		unsigned face:4,
				suit:2,
				kept:1,
			   dealt:1; //added to keep track of dealt cards
	} CARD;

	#define HEART 0
	#define DIAMOND 1
	#define CLUB 2
	#define SPADE 3
	#define SHUFFLES 1000 //change the number of shuffles

	enum SOUND_TYPES { ENTRY, EXIT, WIN, LOSE, BIGWIN, EASTER_EGG };

	// prototypes
	void shufDeck(CARD []);
	void genDeck(CARD []);
	void dealHand(CARD [], CARD []);
	void printHand(CARD []);
	void draw(CARD [], CARD []);
	void playSound(int);

#endif /* POKER_H_ */
